package cgb2202.recruitment01.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class EmpInfo {
    private Integer id;
    private String name;
    private String education;
    private String college;
    private String major;
    private String work;
    @JsonFormat(pattern="yyyy/MM/dd",timezone="GMT+8")
    private Date birthday;
    private Integer pass;

    public Integer getPass() {
        return pass;
    }

    public void setPass(Integer pass) {
        this.pass = pass;
    }

    @Override
    public String toString() {
        return "EmpInfo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", education='" + education + '\'' +
                ", college='" + college + '\'' +
                ", major='" + major + '\'' +
                ", work='" + work + '\'' +
                ", birthday=" + birthday +
                ", pass=" + pass +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }
}
